package pub.wkq.innerclass;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.time.Instant;

public class Main {
   public void start() {
       class TimePrinter implements ActionListener {

           @Override
           public void actionPerformed(ActionEvent e) {
               System.out.println("At the tone , the time is " + Instant.ofEpochMilli(e.getWhen()));

           }
       }

   }
}
